home *** CD-ROM | disk | FTP | other *** search
/ The Original Shareware 1.1 / The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso / 16 / wp42sma.zip / WP41.BAT < prev    next >
DOS Batch File  |  1986-02-23  |  811b  |  28 lines

  1. echo off
  2. rem
  3. rem if you need to debug this batch file, you can add an
  4. rem argument, which will cause the echo to be turned on.
  5. rem e.g. word x will start echoing at the saveenv command.
  6. if not %1a==a echo on
  7. rem Your mouse driver must be preloaded to use the menu:
  8. mouse
  9. rem save the current directory and selected environment vars.
  10. saveenv
  11. rem change to the directory containing the Word Perfect Menus
  12. c:
  13. cd\mouse
  14. menu wp41
  15. rem change to the directory containing your text files
  16. cd\wp\files
  17. rem dos 2.x users will either have to have wp in their path
  18. rem They cannot specify programs to run from specific directories
  19. rem as follows:
  20. c:\wp\wp
  21. rem When processing is finished, turn the menu off
  22. c:
  23. cd\mouse
  24. menu off
  25. rem And then, restore the environment saved by saveenv
  26. cd\
  27. $oldenv2
  28.